public class IsSortedAscendently<T extends Comparable<? super T>>{

	public IsSortedAscendently(){
		
	}
	
	public boolean isSortedAscendently(T[] array) {
		int i=0;
		while(i<array.length){
			if(!(array[i].compareTo(array[i+1])<0)){
				return false;
			}
		}
		return true;
	}
}